#include<bits/stdc++.h>
#define XH(i,a,b) for(int i=a;i<b;++i)
#define XXH(i,a,b) for(int i=a-1;i>=b;--i)
#define LL long long
using namespace std;
int tmpINT; string tmpSTRING; char tmpCHAR; double tmpDOUBLE; LL tmpLONGLONG;

int main(){
	string s;cin>>s;
	XH(i , 0 , 2){
		if(s[i]!=s[i+1]){
			printf("Lost\n");
			return 0;
		}
	}
	printf("Won\n");
	
	return 0;
}